package com.client;

import java.util.Vector;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.shared.TaskGrid;
import com.shared.Token;

/**
 * The async counterpart of <code>gtiService</code>.
 */
public interface ServiceAsync {
  void  getAuthorizationUrl (              AsyncCallback<String>         callback)      throws IllegalArgumentException;
  void  authenticate        (String code , AsyncCallback<Token>          callback);
  void  getList             (Token  token, AsyncCallback<Vector<TaskGrid>> callback);  
}
